﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Logined.aspx.cs" Inherits="XHCTMS.VIEW.Logined" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link rel="shortcut icon" href="/favicon.ico">
	<link rel="apple-touch-icon" href="/apple-touch-icon.png">
	<link rel="stylesheet" href="css/style.css?v=2">
	
	<!-- fluid 960 -->
	<link rel="stylesheet" type="text/css" href="css/text.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/layout.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/grid.css" media="screen" />
	<!-- superfish menu -->
	<link rel="stylesheet" type="text/css" href="css/superfish.css" media="screen" />
	<!-- tags css -->
	<link rel="stylesheet" href="css/jquery.tagsinput.css">
	<!-- treeview css -->
	<link rel="stylesheet" href="css/jquery.treeview.css">
	<!-- dataTable css -->
	<link rel="stylesheet" href="css/demo_table_jui.css">
    <script src="js/jquery.dataTables.min.js" type="text/javascript"></script>

	<!-- fluid GS -->
	<link rel="stylesheet" type="text/css" href="css/fluid.gs.css" media="screen" />
	<!--[if lt IE 8 ]>
	<link rel="stylesheet" type="text/css" href="css/fluid.gs.lt_ie8.css" media="screen" />
	<![endif]-->

	<!-- //jqueryUI css -->
	<link type="text/css" href="css/custom-theme/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
	
	<!-- //jquery -->
	<!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> -->
	<script src="js/libs/jquery-1.5.1.min.js"></script>
	<script>	    !window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.5.1.min.js"%3E%3C/script%3E'))</script>
	<!-- //jqueryUI -->
	<script type="text/javascript" src="js/jquery-ui-1.8.13.custom.min.js"></script>
	<script type="text/javascript" src="js/jquery-fluid16.js"></script>
	<script src="js/plugins.js"></script>
	<script src="js/script.js"></script>
	
	<!-- //xoxco tags plugin https://github.com/xoxco/jQuery-Tags-Input -->
	<script src="js/jquery.tagsinput.min.js"></script>
	<link rel="stylesheet" href="css/jquery.tagsinput.css">
	
	<!--[if lt IE 7 ]>
	<script src="js/libs/dd_belatedpng.js"></script>
	<script> DD_belatedPNG.fix('img, .png_bg');</script>
	<![endif]-->
	<!-- modernizr -->
	<script src="js/libs/modernizr-1.7.min.js"></script>
	
	<!-- superfish menu and needed js for menu -->
	<script src="js/superfish.js"></script>
	<script src="js/supersubs.js"></script>
	<script src="js/hoverIntent.js"></script>

	<!-- treeview -->
	<script src="js/jquery.treeview.js"></script>
	
	<!-- dataTable -->
	<script src="js/jquery.dataTables.min.js"></script>

    <style type="text/css">
    .txt
    {
        margin-left:10px;
        width: 150px;
        margin-right:20px;
        margin-top:5px;
        }
        .dialog_link {
    padding: 0.4em 1em 0.4em 20px;
    position: relative;
    text-decoration: none;
}
 .dropdownlist
    {
        margin-left:10px;
        width: 155px;
        height:23px;
        margin-right:20px;
        margin-top:5px;
        }

 .span-ui-icon {
    left: 0.2em;
    margin: -8px 5px 0 0;
    position: absolute;
    top: 50%;
}
        .style1
        {
            width: 635px;
        }
    </style>

    <script type="text/javascript" language="javascript">
        $(function () {
            $('#txtTime').datepicker();

            $("#divSearch").click(function () {
                $("#btnSearch").trigger("click");
            });

            //                $('#aFisrt').click(function () {
            //                    $('#btnFirst').trigger("click");
            //                });
            //                $('#aPrevious').click(function () {
            //                    $('#btnPrevious').trigger("click");
            //                });
            //                $('#aNext').click(function () {
            //                    $('#btnNext').trigger("click");
            //                });
            //                $('#aLast').click(function () {
            //                    $('#btnLast').trigger("click");
            //                });
            //            });

            $("#aFirst").click(function () {
                var page = '<%=Session["page"]%>';
                if (page <= 1) {
                    return false;
                }
                $("#btnFirst").trigger("click");
            })
            $("#aPrevious").click(function () {
                var page = $("#ddlPage option:selected").text().split("/")[0];
                var maxPage = $("#ddlPage option:selected").text().split("/")[1];
                if (page <= 1) {
                    return false;
                }
                if (page > maxPage) {
                    page = maxPage;
                }
                $("#btnPrevious").trigger("click");
            })
            $("#aNext").click(function () {
                var page = $("#ddlPage option:selected").text().split("/")[0];
                var maxPage = $("#ddlPage option:selected").text().split("/")[1];
                if (page >= maxPage) {
                    return false;
                }
                if (page < 1) {
                    page = 1;
                }
                $("#btnNext").trigger("click");
            })
            $("#aLast").click(function () {
                var page = $("#ddlPage option:selected").text().split("/")[0];
                var maxPage = $("#ddlPage option:selected").text().split("/")[1];
                if (page >= maxPage) {
                    return false;
                }
                $("#btnLast").trigger("click");
            })
        });

    </script>
	
</head>
<body>
  
    <form id="form1" runat="server">
  
    <div class="box">
						<h2>
							<a href="#" id="toggle-forms">用户登录信息管理</a>
						</h2> 
						<div class="block" id="forms">
							
								<fieldset>
									<legend>用户登录操作区</legend>
                                    <div style="width:600px">
                                    <label id="lblStuName">用户名</label>
                                     <asp:DropDownList ID="ddlname" runat="server" class="dropdownlist">
                                        </asp:DropDownList>

                                      <label id="lblDescription">日期</label>
                                      <input id="txtTime" type="text" class="txt" runat="server" />
                                    
                                     <br />
                                     <br />

                                     
                                           <div id="divSearch" class="six column">
									      
									      	<a href="#" id="A2" class=" dialog_link ui-state-default ui-corner-some floatRight"><span class=" span-ui-icon ui-icon ui-icon-search "></span>查询</a>
									      
									    </div>

                                      </div>                                        
									</fieldset>
							
						</div>
					</div>
    
    <asp:Button ID="btnSearch" runat="server"  style=" display:none"  Text="Button2" onclick="btnSearch_Click" />
    
    <div class="box">
						<h2>
							<a href="#" id="toggle-list">职位信息列表</a>
						</h2>
						<div class="block" id="list">
                                                <asp:Repeater ID="Logininfo" runat="server">
                <HeaderTemplate>
                    <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
                        <thead>
                            <tr>
                               <th style="display:none"></th>
                                <th>
                                    用户名
                                </th>
                                <th>
                                    日期
                                </th>
                              
                            </tr>
                        </thead>
                </HeaderTemplate>
                <ItemTemplate>
                    <tbody>
                        <tr class="odd gradeA">
                            <td style="display:none">
                                <%#Eval("login_Id")%>
                            </td>
                            <td style=" width:30%">
                                <%#Eval("user_name")%>
                            </td>
                            <td>
                                <%#Eval("login_time")%>
                            </td>

                        </tr>
                    </tbody>
                </ItemTemplate>
                <FooterTemplate>
                    <tfoot>
                        <tr>
                           <th style="display:none"></th>
                            <th>
                                用户名
                            </th>
                          
                            <th>
                                日期
                            </th>
                        </tr>
                    </tfoot>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
               <a id="aLast"  href="javascript:void(0);" class=" dialog_link ui-state-default ui-corner-some floatRight">尾页</a>
                <a id="aNext" href="javascript:void(0);" class=" dialog_link ui-state-default ui-corner-some floatRight">下一页</a>
                <asp:DropDownList ID="ddlPage" class="dialog_link ui-state-default ui-corner-some floatRight" AutoPostBack="true" 
                    Width="85px" runat="server" onselectedindexchanged="ddlPage_SelectedIndexChanged">
                </asp:DropDownList>
                <a id="aPrevious" href="javascript:void(0);" class=" dialog_link ui-state-default ui-corner-some  floatRight">上一页</a>
                <a id="aFisrt" href="javascript:void(0);" class=" dialog_link ui-state-default ui-corner-some  floatRight">首页</a>
                     
						</div>


					</div>
                   
        <asp:Button ID="btnPrevious" Style="display: none" runat="server" Text="Button" OnClick="btnPrevious_Click" />
        <asp:Button ID="btnNext" Style="display: none" runat="server" Text="Button" OnClick="btnNext_Click" />
        <asp:Button ID="btnFirst" Style="display: none" runat="server" Text="Button" OnClick="btnFirst_Click" />
        <asp:Button ID="btnLast" Style="display: none" runat="server" Text="Button" OnClick="btnLast_Click" />
  
    </form>
    
  
</body>
</html>
  

